package com.xinlong.shop.core.temp.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xinlong.shop.core.temp.entity.BuyGroup;

import java.util.List;

/**
 * <p>
 * 抢购老系统临时使用 服务类
 * </p>
 *
 * @author Sylow
 * @since 2023-04-07
 */
public interface IBuyGroupService extends IService<BuyGroup> {

    void update(BuyGroup tBuyGroup, Integer id);

    void delete(Integer id);

    BuyGroup find(String ruleId, Integer goodsId, Integer productId);

    List<BuyGroup> findList(String ruleId, Integer memberId);

    void delete(Integer memberId, String ruleId, Integer goodsId);

    void batchDelete(Integer memberId);
}
